package com.itheima.demo8_2;

public class Fu {
    int num = 10;

    public void method1() {
        System.out.println("Fu 非静态方法method1..");
    }
    public static void method2() {
        System.out.println("Fu 静态方法method2...");
    }
}

class Zi extends Fu {
    int num = 20;
    public void method1() {
        System.out.println("Zi 非静态方法method1...");
    }
    public static void method2() {
        System.out.println("Zi 静态方法method2...");
    }
}
